package com.onlylemi.mapview;

import ohos.agp.utils.Point;

import java.util.ArrayList;
import java.util.List;

/**
 * TestData
 *
 * @author: onlylemi
 */
public final class TestData {

    private TestData() {
    }

    /**
     * getNodesList
     *
     * @return List
     */
    public static List<Point> getNodesList() {
        List<Point> nodes = new ArrayList<>();
        nodes.add(new Point(222, 34));
        nodes.add(new Point(268, 34));
        nodes.add(new Point(314, 34));
        nodes.add(new Point(359, 34));
        nodes.add(new Point(406, 34));
        nodes.add(new Point(455, 34));
        nodes.add(new Point(500, 34));
        nodes.add(new Point(547, 34));
        nodes.add(new Point(590, 34));
        nodes.add(new Point(630, 34));
        nodes.add(new Point(229, 194));
        nodes.add(new Point(268, 194));
        nodes.add(new Point(314, 194));
        nodes.add(new Point(359, 194));
        nodes.add(new Point(406, 194));
        nodes.add(new Point(455, 194));
        nodes.add(new Point(500, 194));
        nodes.add(new Point(547, 194));
        nodes.add(new Point(590, 194));
        nodes.add(new Point(630, 194));
        nodes.add(new Point(425, 194));
        nodes.add(new Point(229, 260));
        nodes.add(new Point(425, 260));
        nodes.add(new Point(630, 260));
        nodes.add(new Point(229, 310));
        nodes.add(new Point(425, 310));
        nodes.add(new Point(630, 310));
        nodes.add(new Point(229, 360));
        nodes.add(new Point(425, 360));
        nodes.add(new Point(630, 360));
        nodes.add(new Point(229, 410));
        nodes.add(new Point(425, 410));
        nodes.add(new Point(630, 410));
        nodes.add(new Point(229, 460));
        nodes.add(new Point(425, 460));
        nodes.add(new Point(630, 460));
        nodes.add(new Point(229, 510));
        nodes.add(new Point(425, 510));
        nodes.add(new Point(630, 510));
        nodes.add(new Point(229, 560));
        nodes.add(new Point(425, 560));
        nodes.add(new Point(571, 560));
        nodes.add(new Point(229, 610));
        nodes.add(new Point(425, 610));
        nodes.add(new Point(571, 610));
        nodes.add(new Point(229, 670));
        nodes.add(new Point(425, 670));
        nodes.add(new Point(571, 670));
        nodes.add(new Point(240, 830));
        nodes.add(new Point(280, 830));
        nodes.add(new Point(320, 830));
        nodes.add(new Point(390, 830));
        nodes.add(new Point(475, 830));
        nodes.add(new Point(560, 830));
        nodes.add(new Point(620, 830));
        nodes.add(new Point(320, 760));
        nodes.add(new Point(390, 760));
        nodes.add(new Point(475, 760));
        nodes.add(new Point(560, 760));
        nodes.add(new Point(280, 670));
        nodes.add(new Point(320, 670));
        nodes.add(new Point(475, 670));
        nodes.add(new Point(620, 714));
        nodes.add(new Point(1030, 210));
        nodes.add(new Point(700, 210));
        nodes.add(new Point(700, 620));
        nodes.add(new Point(1030, 620));
        nodes.add(new Point(1290, 200));
        nodes.add(new Point(1290, 530));
        nodes.add(new Point(1290, 840));
        nodes.add(new Point(1090, 840));
        nodes.add(new Point(700, 714));
        nodes.add(new Point(1030, 0));

        return nodes;
    }

    /**
     * getNodesContactList
     *
     * @return List<Point>
     */
    public static List<Point> getNodesContactList() {
        List<Point> nodesContact = new ArrayList<Point>();
        nodesContact.add(new Point(0, 1));
        nodesContact.add(new Point(0, 10));
        nodesContact.add(new Point(1, 2));
        nodesContact.add(new Point(1, 11));
        nodesContact.add(new Point(2, 3));
        nodesContact.add(new Point(2, 12));
        nodesContact.add(new Point(3, 4));
        nodesContact.add(new Point(3, 13));
        nodesContact.add(new Point(4, 5));
        nodesContact.add(new Point(4, 14));
        nodesContact.add(new Point(5, 6));
        nodesContact.add(new Point(5, 15));
        nodesContact.add(new Point(6, 7));
        nodesContact.add(new Point(6, 16));
        nodesContact.add(new Point(7, 8));
        nodesContact.add(new Point(7, 17));
        nodesContact.add(new Point(8, 9));
        nodesContact.add(new Point(8, 18));
        nodesContact.add(new Point(9, 19));
        nodesContact.add(new Point(10, 11));
        nodesContact.add(new Point(10, 21));
        nodesContact.add(new Point(11, 12));
        nodesContact.add(new Point(12, 13));
        nodesContact.add(new Point(13, 14));
        nodesContact.add(new Point(14, 15));
        nodesContact.add(new Point(14, 20));
        nodesContact.add(new Point(15, 16));
        nodesContact.add(new Point(15, 20));
        nodesContact.add(new Point(16, 17));
        nodesContact.add(new Point(17, 18));
        nodesContact.add(new Point(18, 19));
        nodesContact.add(new Point(19, 23));
        nodesContact.add(new Point(19, 64));
        nodesContact.add(new Point(20, 22));
        nodesContact.add(new Point(21, 22));
        nodesContact.add(new Point(21, 24));
        nodesContact.add(new Point(22, 25));
        nodesContact.add(new Point(22, 23));
        nodesContact.add(new Point(23, 26));
        nodesContact.add(new Point(24, 25));
        nodesContact.add(new Point(24, 27));
        nodesContact.add(new Point(25, 26));
        nodesContact.add(new Point(25, 28));
        nodesContact.add(new Point(26, 29));
        nodesContact.add(new Point(27, 28));
        nodesContact.add(new Point(27, 30));
        nodesContact.add(new Point(28, 29));
        nodesContact.add(new Point(28, 31));
        nodesContact.add(new Point(29, 32));
        nodesContact.add(new Point(30, 31));
        nodesContact.add(new Point(30, 33));
        nodesContact.add(new Point(31, 32));
        nodesContact.add(new Point(31, 34));
        nodesContact.add(new Point(32, 35));
        nodesContact.add(new Point(33, 34));
        nodesContact.add(new Point(33, 36));
        nodesContact.add(new Point(34, 35));
        nodesContact.add(new Point(34, 37));
        nodesContact.add(new Point(35, 38));
        nodesContact.add(new Point(36, 37));
        nodesContact.add(new Point(36, 39));
        nodesContact.add(new Point(37, 38));
        nodesContact.add(new Point(37, 40));
        nodesContact.add(new Point(39, 40));
        nodesContact.add(new Point(39, 42));
        nodesContact.add(new Point(40, 41));
        nodesContact.add(new Point(40, 43));
        nodesContact.add(new Point(41, 44));
        nodesContact.add(new Point(41, 65));
        nodesContact.add(new Point(42, 43));
        nodesContact.add(new Point(42, 45));
        nodesContact.add(new Point(43, 44));
        nodesContact.add(new Point(43, 46));
        nodesContact.add(new Point(44, 47));
        nodesContact.add(new Point(44, 65));
        nodesContact.add(new Point(45, 48));
        nodesContact.add(new Point(45, 59));
        nodesContact.add(new Point(46, 60));
        nodesContact.add(new Point(46, 61));
        nodesContact.add(new Point(47, 61));
        nodesContact.add(new Point(47, 62));
        nodesContact.add(new Point(47, 65));
        nodesContact.add(new Point(47, 58));
        nodesContact.add(new Point(48, 49));
        nodesContact.add(new Point(49, 50));
        nodesContact.add(new Point(49, 59));
        nodesContact.add(new Point(50, 55));
        nodesContact.add(new Point(50, 51));
        nodesContact.add(new Point(51, 52));
        nodesContact.add(new Point(51, 56));
        nodesContact.add(new Point(52, 53));
        nodesContact.add(new Point(52, 57));
        nodesContact.add(new Point(53, 54));
        nodesContact.add(new Point(53, 58));
        nodesContact.add(new Point(54, 62));
        nodesContact.add(new Point(55, 56));
        nodesContact.add(new Point(55, 60));
        nodesContact.add(new Point(56, 57));
        nodesContact.add(new Point(57, 61));
        nodesContact.add(new Point(57, 58));
        nodesContact.add(new Point(59, 60));
        nodesContact.add(new Point(62, 71));
        nodesContact.add(new Point(63, 67));
        nodesContact.add(new Point(63, 72));
        nodesContact.add(new Point(63, 64));
        nodesContact.add(new Point(63, 66));
        nodesContact.add(new Point(64, 65));
        nodesContact.add(new Point(65, 66));
        nodesContact.add(new Point(65, 71));
        nodesContact.add(new Point(66, 68));
        nodesContact.add(new Point(66, 70));
        nodesContact.add(new Point(69, 70));

        return nodesContact;
    }

    /**
     * getMarks
     *
     * @return List<Point>
     */
    public static List<Point> getMarks() {
        List<Point> marks = new ArrayList<>();
        marks.add(new Point(850, 135));
        marks.add(new Point(720, 135));
        marks.add(new Point(610, 135));
        marks.add(new Point(435, 135));
        marks.add(new Point(270, 135));
        marks.add(new Point(320, 255));
        marks.add(new Point(530, 255));
        marks.add(new Point(320, 355));
        marks.add(new Point(320, 480));
        marks.add(new Point(320, 605));
        marks.add(new Point(530, 355));
        marks.add(new Point(530, 430));
        marks.add(new Point(530, 505));
        marks.add(new Point(500, 610));
        marks.add(new Point(220, 765));
        marks.add(new Point(260, 765));
        marks.add(new Point(300, 765));
        marks.add(new Point(360, 710));
        marks.add(new Point(475, 710));
        marks.add(new Point(353, 780));
        marks.add(new Point(430, 780));
        marks.add(new Point(580, 765));
        marks.add(new Point(645, 780));
        marks.add(new Point(800, 685));
        marks.add(new Point(900, 685));
        marks.add(new Point(990, 685));
        marks.add(new Point(1140, 685));
        marks.add(new Point(1140, 455));
        marks.add(new Point(785, 525));
        marks.add(new Point(836, 315));
        marks.add(new Point(1140, 343));
        marks.add(new Point(1140, 260));
        marks.add(new Point(970, 310));
        marks.add(new Point(190, 280));
        marks.add(new Point(190, 410));
        marks.add(new Point(190, 480));
        marks.add(new Point(190, 550));
        marks.add(new Point(630, 195));
        marks.add(new Point(630, 635));
        marks.add(new Point(1020, 40));

        return marks;
    }

    /**
     * getMarksName
     *
     * @return List
     */
    public static List<String> getMarksName() {
        List<String> marksName = new ArrayList<>();
        for (int i = 0; i < getMarks().size(); i++) {
            marksName.add("Shop " + (i + 1));
        }
        return marksName;
    }
}
